from django.test import TestCase

# Create your tests here.


# n = 10
# m = 5
# count = n*m
#
# s = '你好'
# ss = '吗？'
# sss = s+ss
#
# n1 = 50
# n2 = 60
# n3 = 55
# count0 = n1+n2+n3

nn = [50, 60, 55]

nn2 = [56, 67, 78]


n_list = []

def count(nn):  # 增加了复用性
    for n in nn:
        if n>=60:
            n_list.append(n)

count(nn)
count(nn2)
print(n_list)